let new_name = strip_rust_affixes(dir_name);
if new_name != dir_name {
let message = format!(
- "Note: package will be named `{}`; use --name to override",
+ "note: package will be named `{}`; use --name to override",
new_name);
try!(config.shell().say(&message, BLACK));
}
test!(rust_prefix_stripped {
assert_that(cargo_process("new").arg("rust-foo"),
execs().with_status(0)
- .with_stdout("Note: package will be named `foo`; use --name to override"));
+ .with_stdout("note: package will be named `foo`; use --name to override"));
let toml = paths::root().join("rust-foo/Cargo.toml");
let mut contents = String::new();
File::open(&toml).unwrap().read_to_string(&mut contents).unwrap();